<template>
  <Echart :options="processMappingOption"/>
</template>
<script lang="ts" setup>
import {processMappingOption,getProcessMappingOption} from '@/views/publicTool/processMapping/echarts-data'
defineOptions({ name: 'Home' })

const loading = ref(true)
const getMappingData = async (id: number) => {
  getProcessMappingOption(id)
  console.log(id)
}
const getAllApi = async () => {
  await Promise.all([
  getMappingData(1)
  ])
  loading.value = false
}

getAllApi()
</script>
